package exercise.day4;

import java.util.*;

/**
 * @author Dianzhi Han
 * @version 1.0
 * @description: TODO
 * @date 2022/10/28 2:02
 */
public class WY33_calculateSweets {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
        int d = in.nextInt();
        int A = (a + c) / 2;
        int C = (d - b) / 2;
        int B1 = (b + d) / 2;
        int B2 = (c - a) / 2;
        if (B1 != B2) {
            System.out.print("No");
        } else {
            System.out.print(A + " " + B2 + " " + C);
        }
    }
}
